<h1>Kings Fans Registration</h1>

<div class="form">
  <%= error_messages_for :user -%>

  <fieldset>
  <legend>Create a Kings Hockey Account</legend>
  <% form_for :user, :url => { :action => "create" } do |form| %>
    <div>
      <%= form.label :user_name %>:<br />
      <%= form.text_field :user_name, :class => "short" %>
    </div>
    <div>
      <%= form.label :user_email %>:<br />
      <%= form.text_field :user_email, :class => "short" %>
    </div>
    <div>
      <%= form.label :user_password %>:<br />
      <%= form.password_field :user_password, :class => "short" %>
    </div>
    <div>
      <%= form.label :user_password_confirmation %>:<br />
      <%= form.password_field :user_password_confirmation,   
                              :class => "short" %>
    </div>

    <%= submit_tag "Submit" %>
  <% end %>
  </fieldset>
</div>
